package com.nuyoah.mapper;

import com.nuyoah.entity.ScoreRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 存储学生的成绩信息 Mapper 接口
 * </p>
 *
 * @author xyx
 * @since 2024-06-03
 */
public interface ScoreRecordMapper extends BaseMapper<ScoreRecord> {

    void deleteByStudentId(Integer studentId);

    ScoreRecord queryByStudentId(Integer studentId);

    List<ScoreRecord> queryByUserId(Integer userId);

}
